package com.socialrss.utils.facebook;

import java.util.Iterator;
import java.util.List;

import twitter4j.Twitter;
import twitter4j.TwitterException;
import twitter4j.TwitterFactory;
import twitter4j.auth.AccessToken;
import twitter4j.conf.ConfigurationBuilder;
import android.content.Context;
import android.util.Log;

import com.facebook.Request;
import com.facebook.Request.GraphUserListCallback;
import com.facebook.Response;
import com.facebook.model.GraphUser;
import com.socialrss.accounts.AccountOwner;
import com.socialrss.constants.SocialNetworkNames.SocialNetKeys;
import com.socialrss.utils.SocialRssModel;
import com.socialrss.utils.twitter.TwitterUtil;

public class FacebookFriendsThread extends Thread {
	
	private Context context;
	
	public FacebookFriendsThread(Context con) {
		context = con;
	}
	@Override
	public void run() {
		Log.d("Facebook Friends Thread", "Facebook Thread Started");
		/*if(!FacebookUtil.Instance(null).isConncted()) {
			return;
		}
		Request req = Request.newMyFriendsRequest(FacebookUtil.Instance(null).getSession(), new GraphUserListCallback() {
			
			@Override
			public void onCompleted(List<GraphUser> users, Response response) {
				for (GraphUser graphUser : users) {
					System.out.println(graphUser.getName() + " - " + graphUser.getId());
				}
				
			}
		});
*/
		Log.d("Facebook Friends Thread", "Facebook Thread Ended");
	}

}
